/*
 * @Description:
 * @Author: shilinzhou
 * @Date: 2024-01-30 15:40:00
 * @LastEditors: shilinzhou
 * @LastEditTime: 2024-02-01 14:16:01
 */
import type { BaseTableConfig } from '@/components/base-ui/base-table/type';
import { widthLevel2, widthLevel1, thWordLength4, thWordLength5 } from '@/config';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'materialCode',
            columnProps: {
                label: '物料编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'materialName',
            columnProps: {
                label: '物料名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'demandQuantity',
            columnProps: {
                label: '需求数量',
                width: thWordLength4
            }
        },
        {
            modelKey: 'plannedQuantity',
            columnProps: {
                label: '计划数量',
                width: thWordLength4
            }
        },
        {
            modelKey: 'completedQuantity',
            columnProps: {
                label: '已完工数量',
                width: thWordLength5
            }
        },
        {
            modelKey: 'unfinishedQuantity',
            columnProps: {
                label: '未完工数量',
                width: thWordLength5
            }
        },
        {
            modelKey: 'orderProgress',
            columnProps: {
                label: '加工进度',
                width: thWordLength4
            }
        },
        {
            modelKey: 'plannedStartTime',
            columnProps: {
                label: '计划开始时间',
                width: widthLevel1
            }
        },
        {
            modelKey: 'plannedEndTime',
            columnProps: {
                label: '计划结束时间',
                width: widthLevel1
            }
        },
        {
            modelKey: 'actualCompletionTime',
            columnProps: {
                label: '实际完工时间',
                width: widthLevel1
            }
        }
    ],
    unSelection: true
};
